Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added public label to the HAP.Service #162

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TheMisfit68
Copy link

Helps to distinguish services of the same type that are part of the same accessory

Helps to distinguish services of the same type that are part of the same accessory
@Bouke
Copy link
Owner

Bouke commented Mar 7, 2024

Can you describe the use-case for this change?

@TheMisfit68
Copy link
Author

I have several custom Accessories that often have more than one service of a particular type, for instance, I have an accessory for my electric car that has two Switches associated with it, one to start charging and one to start the airconditioning. When I handle events in the delegate I needed to be able to differentiate between the two.
It's also really handy for debugging purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants